﻿<Window x:Class="YnabCsvConverter.ConvertReportWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Converted!" Height="180" Width="450"
        WindowStyle="None"
        WindowState="Normal"
        AllowsTransparency="True"
        WindowStartupLocation="CenterScreen"
        ResizeMode="CanResizeWithGrip"
        Background="Transparent"
        MouseDown="HandleWindowMouseDown">

   <Border Margin="10" BorderBrush="{StaticResource DarkLine}" BorderThickness="1">
      <Border.Effect>
         <DropShadowEffect Color="#909090" BlurRadius="10" ShadowDepth="0" />
      </Border.Effect>
      <Grid Background="#FFFFFF">
         <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
            <RowDefinition Height="40" />
         </Grid.RowDefinitions>

         <Border Grid.Row="0" BorderThickness="0,0,0,1" BorderBrush="{StaticResource DarkLine}">
            <Grid Background="{StaticResource AccentBrush}">
               <StackPanel Orientation="Horizontal">
                  <TextBlock Style="{StaticResource HeaderTextBlock}" Foreground="White" VerticalAlignment="Center" Margin="10" Text="Converted!">
                  </TextBlock>
               </StackPanel>
            </Grid>
         </Border>

         <Grid Grid.Row="1" Margin="10,10,10,10">
            <Grid.ColumnDefinitions>
               <ColumnDefinition Width="48" />
               <ColumnDefinition Width="*" />
            </Grid.ColumnDefinitions>

            <Image Grid.Column="0" Source="Resources/Icons/check48.png" Width="48" Height="48" />

            <StackPanel  Grid.Column="1" Margin="10,10,0,0" Orientation="Vertical" VerticalAlignment="Center">
               <TextBlock  Style="{StaticResource ParagraphTextBlock}" Text="File converted to YNAB CSV." TextWrapping="Wrap"></TextBlock>
            </StackPanel>
         </Grid>

         <Border Grid.Row="2" BorderThickness="0,1,0,0" BorderBrush="{StaticResource DarkLine}">
            <Grid Background="{StaticResource HeaderBackground}" >

               <StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
                  <Button Margin="5" Click="HandleOkClick" MinWidth="80">Ok</Button>
               </StackPanel>

            </Grid>
         </Border>
      </Grid>
   </Border>
</Window>
